import request from '@/utils/request';

export async function fetchMiniList(params = {}) {
  return request('/Amaidan-Merchants-Web/merchants/busMerchantsPublicNo/getAuthorizerInfo', {
    method: 'POST',
    data: params,
  });
}

export async function fetchMiniCode(params = {}) {
  return request('/Amaidan-Wx-Web/miniProgram/getWXACodeUnlimit', {
    method: 'POST',
    data: params,
  });
}

export async function fetchTemplateList(params = {}) {
  return request('/Amaidan-Wx-Web/wechat/getMiniTemplateList', {
    method: 'POST',
    data: params,
  });
}

export async function fetchCommercial(params = {}) {
  return request('/Amaidan-Merchants-Web/merchants/busStoreWxMerid/getStoreWxMerid', {
    method: 'POST',
    data: params,
  });
}